import { ref, computed } from 'vue'
import { defineStore } from 'pinia'
import type {hotObject} from '@/api/hot/type'
export const hotStore = defineStore('hot', () => {
  
  const hotdata = ref<hotObject[]>([])

  const modifyhotdata = (data: hotObject[]) => {
    hotdata.value = data
  }
  return {
    hotdata,
    modifyhotdata
  }
})
